package com.lx.design.demo.temp;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.context.event.ContextRefreshedEvent;
import org.springframework.context.support.FileSystemXmlApplicationContext;

/**
 * @author lx
 * @date 2021/2/5 16:45
 */
@Slf4j
public class TT {
    public static void main(String[] args) {


        ApplicationContext applicationContext = new FileSystemXmlApplicationContext("");
        applicationContext.getBean("");
        try {
            throw new Exception("my e ");
        } catch (Exception e) {
            log.info(e.getMessage());
            e.printStackTrace();
        }
    }

}
